{extend name="template/base" /}
{block name="nav"}{/block}
{block name="content"}
<div class="page-container">

    <form class="form form-horizontal" id="form" method="post" action="{:\\think\\Request::instance()->baseUrl()}">
        <input type="hidden" name="id" value="{$vo.id  ?? ''}">
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>用户名：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.name ?? ''}"     name="name"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>  
        
         <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>性别：</label>
            <div class="formControls col-xs-6 col-sm-6 skin-minimal">
            	<div class="radio-box">
                    <input type="radio" name="sex" id="radio-0" value="0" {if $vo.sex eq 0}checked="checked"{/if}>
                    <label for="radio-0">女</label>
                </div>
                <div class="radio-box">
                    <input type="radio" name="sex" id="radio-0" value="1" {if $vo.sex eq 1}checked="checked"{/if}>
                    <label for="radio-0">男</label>
                </div>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        
         <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>年龄：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.age ?? ''}"     name="age"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>手机号：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.tel ?? ''}"     name="tel"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>邮箱：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.email ?? ''}"     name="email"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>真实姓名：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.real_name ?? ''}"  readonly="true"   name="real_name"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>身份证号码：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.IDcard ?? ''}"  readonly="true"   name="IDcard"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>身份证反面：</label>
            <div class="formControls col-xs-6 col-sm-6">
            	<img src="{$vo.card_photo2 ?? ''}" style="width: 60px;">
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>签名：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" value="{$vo.sign ?? ''}"     name="sign"  >
            </div>
            <div class="col-xs-3 col-sm-3">{present name="vo.UserID"}<span class="label label-warning radius">不可更改</span>{/present}</div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3"><span class="c-red">*</span>性别：</label>
            <div class="formControls col-xs-6 col-sm-6 skin-minimal">
            	<div class="radio-box">
                    <input type="radio" name="is_rz" id="radio-0" value="2" {if $vo.is_rz eq 2}checked="checked"{/if}>
                    <label for="radio-0">待审核</label>
                </div>
                <div class="radio-box">
                    <input type="radio" name="is_rz" id="radio-0" value="1" {if $vo.is_rz eq 1}checked="checked"{/if}>
                    <label for="radio-0">审核通过</label>
                </div>
                <div class="radio-box">
                    <input type="radio" name="is_rz" id="radio-0" value="0" {if $vo.is_rz eq 0}checked="checked"{/if}>
                    <label for="radio-0">审核失败</label>
                </div>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                <button type="button" class="btn btn-default radius ml-20" onClick="layer_close();">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__LIB__/showdown/1.4.2/showdown.min.js"></script>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>

<script>window.UEDITOR_HOME_URL = '__LIB__/ueditor/1.4.3/'</script>
<script type="text/javascript" charset="utf-8" src="__LIB__/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__LIB__/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="__LIB__/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script>
    $(function () {
        var ue = UE.getEditor('editor',{
            serverUrl:'{:\\think\\Url::build("Ueditor/index")}'
        });


        $("#form").Validform({
            tiptype:2,
            ajaxPost:true,
            showAllError:true,
            callback:function(ret){
                ajax_progress(ret);
            }
        });
		
    })
</script>
{/block}